using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using distrilan;

public partial class admin_frmHome : System.Web.UI.Page
{
  protected SiteUser ute = null;
  protected void Page_Load(object sender, EventArgs e)
  {
      // se nella sessione non c'e niente, redirigo l'utente alla pagina di login
      if (SiteUser.IsLoggedAdmin() == false)
          Server.Transfer("index.aspx");

      ute = SiteUser.getUser();
  }
}
